/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const analysisRouter = {
  path: '/analysis',
  component: Layout,
  redirect: 'noRedirect',
  hidden:false,
  alwaysShow: true, // will always show the root menu
  name: '报表',
  meta: {
    title: '报表',
    icon: 'component'
  },
  children: [
    {
      path: 'board',
      component: () => import('@/views/analysis/board'),
      name: '总表',
      meta: {
        title: '总表'
      }
    },
    {
      path: 'customer',
      component: () => import('@/views/analysis/board'),
      name: '总表',
      meta: {
        title: '总表'
      }
    },
    {
      path: 'order',
      component: () => import('@/views/analysis/board'),
      name: '总表',
      meta: {
        title: '总表'
      }
    },
    {
      path: 'product',
      component: () => import('@/views/analysis/board'),
      name: '总表',
      meta: {
        title: '总表'
      }
    },
    {
      path: 'agent',
      component: () => import('@/views/analysis/board'),
      name: '总表',
      meta: {
        title: '总表'
      }
    },
  ]
}

export default analysisRouter
